package com.ruoyi.topic.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 话题表 com_topic
 *
 * @author ruoyi
 * @date 2019-10-12
 */
public class Topic extends BaseEntity
{
	private static final long serialVersionUID = 1L;

	/**  */
	private Integer id;
	/** 用户ID */
	private Integer userId;
	/** 话题名称 */
	private String topicName;
	/** 审核状态 */
	private String verifyState;
	/** 回复量 */
	private Integer responseNum;
	/** 浏览量 */
	private Integer glanceNum;
	/** 话题种类  1普通  2官方 */
	private Integer topicType;
	/** 话题帖子量 */
	private Integer topicPostNum;
	/** 话题简介 */
	private String topicIntroduction;
	/** 话题等级 */
	private Integer topicLevel;
	/** 有效值 */
	private Integer valid;
	/** 建立日期 */
	private Date createDate;
	/** 修改日期 */
	private Date modifyDate;

	private Date recommendDate;

	public Date getRecommendDate() {
		return recommendDate;
	}

	public void setRecommendDate(Date recommendDate) {
		this.recommendDate = recommendDate;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Integer getId()
	{
		return id;
	}
	public void setUserId(Integer userId)
	{
		this.userId = userId;
	}

	public Integer getUserId()
	{
		return userId;
	}
	public void setTopicName(String topicName)
	{
		this.topicName = topicName;
	}

	public String getTopicName()
	{
		return topicName;
	}
	public void setVerifyState(String verifyState)
	{
		this.verifyState = verifyState;
	}

	public String getVerifyState()
	{
		return verifyState;
	}
	public void setResponseNum(Integer responseNum)
	{
		this.responseNum = responseNum;
	}

	public Integer getResponseNum()
	{
		return responseNum;
	}
	public void setGlanceNum(Integer glanceNum)
	{
		this.glanceNum = glanceNum;
	}

	public Integer getGlanceNum()
	{
		return glanceNum;
	}
	public void setTopicType(Integer topicType)
	{
		this.topicType = topicType;
	}

	public Integer getTopicType()
	{
		return topicType;
	}
	public void setTopicPostNum(Integer topicPostNum)
	{
		this.topicPostNum = topicPostNum;
	}

	public Integer getTopicPostNum()
	{
		return topicPostNum;
	}
	public void setTopicIntroduction(String topicIntroduction)
	{
		this.topicIntroduction = topicIntroduction;
	}

	public String getTopicIntroduction()
	{
		return topicIntroduction;
	}
	public void setTopicLevel(Integer topicLevel)
	{
		this.topicLevel = topicLevel;
	}

	public Integer getTopicLevel()
	{
		return topicLevel;
	}
	public void setValid(Integer valid)
	{
		this.valid = valid;
	}

	public Integer getValid()
	{
		return valid;
	}
	public void setCreateDate(Date createDate)
	{
		this.createDate = createDate;
	}

	public Date getCreateDate()
	{
		return createDate;
	}
	public void setModifyDate(Date modifyDate)
	{
		this.modifyDate = modifyDate;
	}

	public Date getModifyDate()
	{
		return modifyDate;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("topicName", getTopicName())
            .append("verifyState", getVerifyState())
            .append("responseNum", getResponseNum())
            .append("glanceNum", getGlanceNum())
            .append("topicType", getTopicType())
            .append("topicPostNum", getTopicPostNum())
            .append("topicIntroduction", getTopicIntroduction())
            .append("topicLevel", getTopicLevel())
            .append("valid", getValid())
            .append("createDate", getCreateDate())
            .append("modifyDate", getModifyDate())
			.append("recommendDate",getRecommendDate())
            .toString();
    }
}
